Interview Questions and Answer
Options:
a. For every module create a New Folder
b. For every module create a New Area
c. Under Controllers, Models and Views folders create subfolder for each module
d. Split them into multiple applications
Reveal Answer
Options:
a. RedirectToAction("Home", "Index", "Admin");
b. RedirectToAction("Index", "Home", new { Area = "Admin" });
c. RedirectToAction("Home", "Index", new { Area = "Admin" });
d. RedirectToAction("Index", "Home", "Admin");
Reveal Answer
Options:
a. AreaRegistration.Register()
b. AreaRegistration.RegisterAllAreas()
c. Registration.RegisterAllAreas()
d. Registration.RegisterAreas()
Reveal Answer
Options:
a. Overriding the Area URL Prefix
b. Ignoring Area URLs for Certain Routes
c. Both a & b
d. None of the above
Reveal Answer
Options:
a. Every Area will generate separate Controller,View,Model
b. We can use any file of project in any Area(ex:Scripts,Global.asax etc...)
c. We can have any number of Areas in Project.
d. All of the above.
Reveal Answer
Options:
a. ActionMethod/ControllerName/AreaName d.
b. ControllerName/AreaName/ActionMethod
c. ActionMethod/AreaName/ControllerName
d. AreaName/ControllerName/ActionMethod
Reveal Answer
Bestdotnet google plus